package com.guofen.dao;

import com.guofen.pojo.SjqFlocculationProduceFault;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqFlocculationProduceFaultMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqFlocculationProduceFault record);

    int insertSelective(SjqFlocculationProduceFault record);

    SjqFlocculationProduceFault selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqFlocculationProduceFault record);

    int updateByPrimaryKey(SjqFlocculationProduceFault record);

    SjqFlocculationProduceFault findLast();

    List<String> findFaultEquipList();

    void updateIsForm(String equipmentName);

    List<SjqFlocculationProduceFault> selectAll();

    List<SjqFlocculationProduceFault> selectByDate(@Param("startDate") String startDate,
                                                   @Param("endDate") String endDate);
}